/**
 * trefoil/css/style.css
 *
 * Authored by Juti Noppornpitak <juti_n@yahoo.co.jp>
 *
 * Note: This style sheet is written for Firefox 3.5 and Safari 4. The other
 * browsers that aren't mentioned here may not support some properties used in
 * this style sheet and may result the different user experience.
 */

/***** Resetting **************************************************************/

* {
    outline: none;
}

body {
    min-width: 960px;
    min-height: 400px;
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    font-size: 13px;
    background: url('../images/body-background.png') top left repeat-x #ccc;
}

h1, h2, h3, h4, p, label, a {
    cursor: default;
}

p {
    cursor: default;
    padding: 0;
    margin: 0 0 10px 0;
}

th {
    text-align: left;
}

img {
    border: none;
    margin: 0;
    padding: 0;
}

input[type="text"],
input[type="password"] {
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border: 1px solid #999;
    background-color: white;
    padding: 5px;
    
    cursor: text !important;
    
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

input[type="text"]:focus,
input[type="password"]:focus {
    border-color: #ff9900;
    -moz-box-shadow: #ffffcc 0 0 10px;
    -webkit-box-shadow: #ffffcc 0 0 10px;
}

button {
    vertical-align: baseline;
    
    font-family: 'Arial', sans-serif;
    font-size: 14px;
    border: 1px solid #666;
    border-color: #666;
    background-color: #666;
    padding: 4px 8px;
    color: white;
    
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}

button:hover {
    background-color: #2f3446;
    border-color: #2f3446;
}

button[disabled],
button[disabled]:hover {
    background-color: #ccc;
    border-color: #ccc;
}

button[type="submit"] {
    background-color: #669900;
    border-color: #669900;
}

button[type="submit"]:hover {
    background-color: #336600;
    border-color: #336600;
}

button.gb-remove,
button.gb-cancel {
    border-color: #660000;
    background-color: #ffcccc;
}

button.gb-remove:hover,
button.gb-cancel:hover {
    background-color: #990000;
    color: white;
}

.prototype {
    display: none;
}

/***** controller *************************************************************/

#controller-underlay {
    display: none;
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    height: 30px;
    background-color: #ccc;
}

#controller {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    margin-top: 0px;
    overflow: hidden;
    background-color: #000;
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    max-height: 30px;
}

#controller h1 {
    float: left;
    cursor: default;
    padding: 7px 20px 7px 20px;
    margin: 0;
    background-color: #669900;
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    color: #fff;
    font-size: 14px;
    font-weight: normal;
    text-transform: capitalize;
}

#controller ul {
    float: left;
    list-style: none;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#controller .sl-auth {
    display: none;
}

#controller .iff-browse {
    display: none;
}

#controller .no-sl {
    margin-bottom: 0;
}

#controller ul li {
    float: left;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#controller ul li a,
#controller ul li a:link {
    float: left;
    overflow: hidden;
    cursor: default;
    display: block;
    color: white;
    letter-spacing:1px;
    font-size:14px;
    text-decoration: none;
}

#controller ul li a span {
    display: block;
    padding: 7px 15px 7px 15px;
    background-position: left top;
}

#controller ul li a:hover span {
    color: #fff;
    padding: 7px 12px 4px 12px;
    margin: 0 3px 3px 3px;
    background-color: #4179c4;
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

#controller ul li.e-selected {
}

#controller ul li.e-selected a {
}

#controller ul li.e-selected a span,
#controller ul li.e-selected a:hover span {
    color: #fff;
    padding: 7px 11px 3px 11px;
    margin: 0 3px 3px 3px;
    border: 1px solid #669900;
    border-top-width: 0px;
    background-color: #669900;
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    -moz-border-radius: 0 0 5px 5px;
    -webkit-border-bottom-left-radius: 5px;
    -webkit-border-bottom-right-radius: 5px;
}

/***** dialog *****************************************************************/

#dialog-screen {
    z-index: 10000;
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: black;
}

#dialog {
    z-index: 10001;
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    background-color: white;
    border:5px solid #215498;
    
    box-shadow: #000 0 0 20px;
    -webkit-box-shadow: #000 0 0 20px;
    -moz-box-shadow: #000 0 0 20px;
    
    border-radius: 15px;
    -webkit-border-radius: 15px;
    -moz-border-radius: 15px;
}

#dialog-inner {
    padding: 10px;
}

#dialog * {
    cursor: default;
}

#dialog-inner div.dialog-section {
}

#dialog h2 {
    font-size: 18px;
    font-weight: normal;
    margin: 0 0 10px 0;
    padding: 0;
}

#dialog-close {
    z-index: 10005;
    display: block;
    position: relative;
    left: -33px;
    top: -30px;
    margin: 0 0 -40px 0;
    padding: 0;
    background-image: url('../images/button-cancel.png');
    background-position: top left;
    background-repeat: no-repeat;
    width:40px;
    height:40px;
}

#dialog-close:hover {
    background-image: url('../images/button-cancel-focus.png');
}

#general-message {
    font-size: 16px;
}

/***** display ****************************************************************/

#display {
    margin: 55px 20px 20px 20px;
}

#display h2 {
    font-weight: normal;
    margin: 0 0 20px 0;
    font-size: 24px;
}

#display h2 {
}

/***** dialog / create new folder *********************************************/

#dialog #create-folder {
    display: none;
}

/***** display / user-io ******************************************************/

#user-io {
    width: 760px;
}

#user-io h2 {
    font-size: 14px;
    font-weight: normal;
    color: #999;
    margin:0;
    padding:0;
}

#user-io h3 {
    margin:0 0 20px 0;
    padding:0;
    font-size: 30px;
    font-weight: normal;
}

#user-io form {
    margin: 0 0 20px 0;
}

#user-io form label {
    display: block;
}

#user-io form label.description {
    font-size: 11px;
    color: #999;
}

#user-io form input {
    font-size: 16px;
    margin-bottom: 10px;
}

/***** display / user-io / signin *********************************************/

#signin {
}

#signin input {
    width: 50%;
}

#sysreq {
    position: absolute;
    left: 540px;
    top: 130px;
    padding: 10px;
    background-color: #ffffcc;
    -webkit-border-radius: 10px;
    border: 1px solid white;
}

#sysreq ul {
    margin: 0;
    padding: 0 0 0 10px;
}

#sysreq ul li {
    margin: 0 0 0 10px;
    padding: 0;
}

/***** display / user-io / password-retrieval *********************************/

#password-retrieval {
   display: none;
}

#password-retrieval input {
    width: 50%;
}

/***** display / user-io / signup *********************************************/

#signup {
    display: none;
    overflow: hidden;
}

#signup form input {
    width: 300px;
}

#signup form {
    display: none;
}

#signup #terms {
    display: block;
    font-size: 16px;
}

#signup #terms div {
    font-family: 'Lucida Bright', 'Georgia', serif;
    border: 1px solid #ffffcc;
    background-color: #ffffee;
    padding: 20px;
    margin: 20px;
    box-shadow: #999 0 5px 10px;
    -webkit-box-shadow: #999 0 5px 10px;
    -moz-box-shadow: #999 0 5px 10px;
}

#signup #terms label {
    display: inline;
}

/***** display / user-io / user-io-footer *************************************/

#user-io-footer {
    font-size: 11px;
    color: #999;
}

/***** display / browser (with bird-eye view by default) **********************/

#browser {
    display: none;
    margin-top: -20px;
}

#browser h2 {
    border-bottom: 3px solid #cccccc;
    font-weight: normal;
    color: #999;
    padding-top: 10px;
}

#browser h3 {
    border-top: 1px solid #eee;
    font-weight: normal;
    text-align: right;
    color: #eee;
}

#browser ul {
    list-style: none !important;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

#browser li {
    float: left;
    margin: 0;
    padding: 0;
}

#browser li ul {
    display: none;
}

#browser.view-tn #browser-forest .file a,
#browser.view-tn #browser-forest .directory a,
#browser.view-tn #browser-forest .file ul,
#browser.view-tn #browser-forest .directory ul,
#browser-stock .file a,
#browser-stock .directory a,
#browser-stock .file ul,
#browser-stock .directory ul {
    float: left;
    display: block;
    overflow:hidden;
    white-space: nowrap;
}

#browser.view-tn #browser-forest .file ul,
#browser.view-tn #browser-forest .directory ul,
#browser-stock .file ul,
#browser-stock .directory ul {
    width: 230px;
    max-width: 230px;
    padding: 3px 10px 3px 10px;
}

#browser .directory ul li,
#browser .file ul li {
    cursor: default;
    float: none;
    white-space: nowrap;
    color: #999;
}

#browser .directory ul li.dn,
#browser .file ul li.fn {
    font-size: 14px;
    white-space: nowrap;
    color: #000;
}

#browser .directory ul li.dn button,
#browser .file ul li.fn button {
    width: 26px;
    font-size: 16px;
    font-weight: normal;
    border: 1px solid #ccc;
    padding: 3px 0 3px 0 !important;
    margin: 0 0 0 3px !important;
    background: none;
    background-color: #fff;
    color: #999;
    
    border-radius:12px;
    -moz-border-radius:12px;
    -webkit-border-radius:12px;
}

#browser .directory ul li.dn button:hover,
#browser .file ul li.fn button:hover {
    color: white;
    background-color: #ccc;
}

#browser .directory ul li.dn input,
#browser .file ul li.fn input {
    width: 200px;
    margin: 0 0 0 -5px !important;
    padding: 5px 0 5px 5px !important;
    background-color: #fff !important;
    font-size: 14px;
    border-color: #ccc;
}

#browser .directory ul li.dn input[disabled],
#browser .file ul li.fn input[disabled] {
    background-color: #fff !important;
    padding:0 !important;
    margin:0 !important;
    border: none;
}

#browser .directory ul li.dn input:focus,
#browser .file ul li.fn input:focus {
    background-color: transparent;
}

#browser .directory ul li.dt,
#browser .file ul li.ft {
    float: left;
    font-size: 9px;
    text-transform: uppercase;
    margin-right: 10px;
}

#browser .file ul li.fs {
    font-size: 9px;
}

#browser li ul li {
}

#browser li ul li.commands {
    width: 100%;
    clear: both;
    overflow: hidden;
    margin-top: 2px;
}

#browser li ul li.commands a {
    display: block;
    float: left;
    font-size: 12px;
    text-decoration: none;
    background-image: url('../images/controller-item-background.png');
    background-position: top left;
    background-repeat: repeat-x;
    background-color: #333;
    color: white;
    padding: 3px 8px 3px 8px;
    margin-right: 2px;
    
    border: 1px solid #333;
    border-top-color: #666;
    border-left-color: #666;
    
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#browser li ul li.dl a:hover,
#browser li ul li.dl a:focus {
    background-color: #333;
    color: white;
    
    border: 1px solid #000;
    border-top-color: #666;
    border-left-color: #666;
    
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

#browser a.location-path {
    color: black;
    cursor: pointer;
}

/***** display / browser / forest *********************************************/

#browser-forest {
    overflow: hidden;
}

#browser-forest .commands {
    display: none;
}

/***** display / browser / stock **********************************************/

#browser-stock {
    display: none;
    overflow: hidden;
}

#browser-stock .directory ul li.dn:hover,
#browser-stock .file ul li.fn:hover {
    color: #0f8e17;
    cursor: text;
}

/***** display / browser / panel **********************************************/

#browser-panel {
    overflow: hidden;
    margin: 0 -20px;
    padding: 0;
    border-bottom: 1px solid #ccc;
}

/***** browser / tools ********************************************************/

#browser-tool {
    float: left;
    padding-left: 20px;
    padding-right: 20px;
}

#browser-tool ul {
    float: none;
    overflow: hidden;
}

#browser-tool ul li {
    float: left;
}

#browser-tool ul li a {
    display: block;
    padding: 10px 0 8px 0;
    margin-right: 14px;
    color: #666;
    font-size: 12px;
    letter-spacing: 1px;
    
    text-shadow: #ccc 0 0 10px;
}

#browser-tool ul li a.e-selected,
#browser-tool ul li a:hover {
    color: #000;
    padding-bottom: 5px;
    border-bottom: 3px solid #ccc;
}

#browser-tool ul li a#a-stock,
#browser-tool ul li a#a-stock:hover {
}

#browser-tool ul li a#a-stock.e-selected,
#browser-tool ul li a#a-stock.e-selected:hover {
    color: #ff6600;
}

#browser-tool ul li a#a-stock span {
    display: block;
    float: right;
    padding: 3px;
    margin-top: -3px;
    width: 25px;
    background-color: #333;
    text-align: center;
    color: white;
    
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
}

/***** display / browser / widgets / filter ***********************************/

#browser-filter {
    float: right;
    margin: 0 20px 0 0;
    padding: 1px 1px 1px 3px;
    border: 1px solid #ddd;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    background-color: #eee;
}

#browser-filter input {
    margin: 0;
    border: none;
    background-color: transparent;
    -moz-border-radius: 0;
    -webkit-border-radius: 0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
}

#browser-filter a {
    display: none;
}

#browser-filter img {
    vertical-align: middle;
    margin-bottom: 2px;
    width: 14px;
    height: 14px;
}

/***** display / browser / mode switch ****************************************/

#browser-mode {
    position: fixed;
    right: 20px;
    bottom: 3px;
    border: 1px solid #fff;
    background-color: white;
    overflow: hidden;
}

#browser-mode h3 {
    text-transform: uppercase;
    color: #ccc;
    font-size: 10px;
    border: none;
    border-right: 1px dotted #ccc;
    float: left;
    padding: 5px;
    margin: 0;
}

#browser-mode ul {
    float: left;
    margin: 0;
    padding: 0;
    overflow: hidden;
}

#browser-mode ul li {
    float: left;
    margin: 0;
    padding: 0;
}

#browser-mode ul li a {
    display: block;
    padding: 5px;
    margin: 0;
    font-size: 10px;
    text-transform: uppercase;
    color: #999;
}

#browser-mode ul li a:hover {
    background-color: #eee;
    color: #000;
}

#browser-mode ul li a.e-selected {
    background-color: #669900;
    color: white;
}   

/***** display / browser / suggestions ****************************************/

#browser-suggest {
    cursor: default;
    font-size: 14px;
}

/***** dialog / language-switch ***********************************************/

#language-switch {
    display: none;
}

#language-switch h2 {
    text-align: center;
}

#language-switch ul {
    margin: 0;
    padding: 0;
    text-align: center;
}

#language-switch ul li {
    display: inline;
}

#language-switch ul li button {
    font-size: 20px;
}

#language-switch p {
    padding-top: 10px;
    color: #666;
    text-align: center;
}

/***** dialog / sysabout ******************************************************/

#sysabout {
    display: none;
    max-width: 300px;
    font-size: 9px;
    text-transform: uppercase;
}

#sysabout h2 {
    text-align: center;
    font-size: 20px;
    text-transform: uppercase;
}

#sysabout h2 a {
    color: #0f8e17;
    cursor: pointer;
    text-decoration: none;
}

#sysabout p {
    color: #888;
    text-align: center;
}

#sysabout #trefoil-logo {
    text-align: center;
}

/***** display / uploader *****************************************************/

#uploader {
    display: none;
}

#uploader ul {
    list-style: none;
    margin: 0 0 20px 0;
    padding: 20px;
    background-color: white;
    -webkit-border-radius: 10px;
}

#uploader ul li {
    margin: 0;
    padding: 0;
    font-size: 12px;
    padding-bottom: 10px;
}

#uploader ul li input {
    font-size: 14px;
}

#uploader-limit,
#uploader-location {
    font-weight: bold;
    font-size: 16px;
}

/***** display / site information *********************************************/

#site-info {
    display: none;
    overflow: hidden;
}

#site-info h2 {
    font-size: 16px;
    color: #999;
}

#site-info h2 span {
    display: block;
    font-size: 36px;
    color: #000;
}

#site-info #site-info-dashboard {
    border: 1px solid #ccc;
    background-color: white;
    overflow: hidden;
    padding: 20px;
    border-radius: 10px;
    -moz-border-radius: 10px;
    -webkit-border-radius: 10px;
}

#site-info #site-info-visual {
    float: left;
}

#site-info table {
    display: block;
    float: left;
}

#site-info th {
    font-size: 14px;
    padding-right: 10px;
    padding-bottom: 5px;
    width: 80px;
}

#site-info td {
    font-size: 14px;
    padding-bottom: 5px;
}

#site-info #user-site {
    cursor: pointer;
}

#sstt {
    opacity: 0.9;
    color: #fff;
    border:0px solid #ccc;
    position:absolute;
    background-color: black;
    display: none;
    box-shadow: #ccc 0 0 10px;
    -webkit-box-shadow: #ccc 0 0 10px;
    -moz-box-shadow: #ccc 0 0 10px;
    border-radius:10px;
    -moz-border-radius:10px;
    -webkit-border-radius:10px;
}